package com.vitalfit.repository;

import com.vitalfit.model.entity.food.FoodItem;
import org.jetbrains.annotations.NotNull;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

public interface FoodItemRepository extends JpaRepository<FoodItem,Integer> {


    @NotNull
    Page<FoodItem> findAll(@NotNull Pageable pageable);
}
